package io;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;

public class IsrDemo {
    public static void main(String[] args) throws Exception {
        FileInputStream fis = new FileInputStream("./src/main/java/io/IsrDemo.java");
        InputStreamReader isr = new InputStreamReader(fis, StandardCharsets.UTF_8);
        int a ;
        while ((a = isr.read())!= -1){
            System.out.print((char) a);
        }
    }
}
